<?php
/**
 * Created by PhpStorm.
 * User: zhan
 * Date: 2017/11/10  13:38
 */
namespace app\api\controller;
class Goods extends Base{
    //检查权限作用域
    protected $beforeActionList  = [
        'checkPrimaryScope' => [
            'except' => ''
        ],
    ];
    /**
     * 订房页面
     */
    public function sortlist()
    {
        $result =  (new \app\api\logic\Goods())->sortlist();
        return $this->ajaxReturn($result);
    }
    /**
     * 房间门票列表
     */
    public function index()
    {
        $result =  (new \app\api\logic\Goods())->index();
        return $this->ajaxReturn($result);
    }
    /**
     * 详情
     */
    public function detail()
    {
        $result =  (new \app\api\logic\Goods())->detail();
        return $this->ajaxReturn($result);
    }
    /**
     * 确定
     */
    public function confirm()
    {
        $result =  (new \app\api\logic\Goods())->confirm();
        return $this->ajaxReturn($result);
    }
    /**
     * 确定门票
     */
    public function confirm_ticket()
    {
        $result =  (new \app\api\logic\Goods())->confirm_ticket();
        return $this->ajaxReturn($result);
    }
    /**
     * 确定套票
     */
    public function confirm_package()
    {
        $result =  (new \app\api\logic\Goods())->confirm_package();
        return $this->ajaxReturn($result);
    }
    /**
     * 套票详情
     */
    public function packagedetail()
    {
        $result =  (new \app\api\logic\Goods())->packagedetail();
        return $this->ajaxReturn($result);
    }
}